home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 2 / LSD and 17bit Compendium Deluxe - Volume II.iso / a / prog / asmsrc / thesource-7.lha / Source / Articles / Stereoscopic / SegaGlasses.lha / SegaGlasses / segavga.h < prev    next >
C/C++ Source or Header  |  1992-07-28  |  529b  |  20 lines

  1. #define BOTH  0  /* Both lenses clear */
  2. #define RIGHT 1  /* Right lens clear */
  3. #define LEFT  2  /* Left lens clear */
  4. #define NONE  3  /* Both lenses black */
  5.  
  6. #define Glasses(x) outportb(base+4, x)
  7.  
  8. unsigned int com_base[] = { 0x3f8,
  9.                             0x2f8,
  10.                             0x3e8,
  11.                             0x2e8
  12.                           };
  13. extern int getopt(int,char **,const char *);
  14. extern char *optarg;
  15. extern int optind;
  16. extern int opterr;
  17. extern void perror(const char *);
  18.  
  19.  
  20.